package com.xiaoxi.feign.codeimageserver;

import com.xiaoxi.common.exception.BMSException;
import com.xiaoxi.common.response.ApiResponse;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author xiaoxi
 * @ProjectName springcloudbms
 * @PackageName com.xiaoxi.feign.codeimageserver
 * @ClassName CodeImageServer
 * @Description TODO
 * @Date 2023/2/2 19:56
 * @Version 1.0
 */
@FeignClient("code-image-server")
public interface CodeImageServer {

    @GetMapping("/code/api/v1/checkVerificationCode")
    ApiResponse checkVerificationCode(@RequestParam("verificationCodeId") String verificationCodeId,
                                      @RequestParam("codeInRequest") String codeInRequest);

}
